package algorithm.tree.multitree.base;

import java.util.ArrayList;
import java.util.List;

public class MTreeNode {
    int index;
    int value;
    List<MTreeNode> nodeList = new ArrayList<>();

    public MTreeNode(int index, int value) {
        this.index = index;
        this.value = value;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public List<MTreeNode> getNodeList() {
        return nodeList;
    }

    public void setNodeList(List<MTreeNode> nodeList) {
        this.nodeList = nodeList;
    }
}